package com.samphanie.security.validation.properties;

/**
 * @author Dries
 * @email 1451691457@qq.com
 */
public class CodeConstant {

    public static final String DEFAULT_PARAMETER_NAME_CODE = "code";
    /**
     * 验证图片验证码时，http请求中默认的携带图片验证码信息的参数的名称
     */
    public static final String DEFAULT_PARAMETER_NAME_CODE_IMAGE = "imageCode";
    /**
     * 验证短信验证码时，http请求中默认的携带短信验证码信息的参数的名称
     */
    public static final String DEFAULT_PARAMETER_NAME_CODE_SMS = "smsCode";
    public static final String DEFAULT_PARAMETER_NAME_MOBILE = "mobile";

    public static final String DEFAULT_PARAMETER_NAME_KEY = "key";
    /**
     * 发送验证码 或 验证 验证码时，传递验证码的key
     */
    public static final String DEFAULT_PARAMETER_KEY = "deviceId";

    public static final String CAPTCHA_KEY = "code:image:";
    public static final String SMS_CODE_KEY = "code:sms:";
}
